<%@ include file="/view/template/header.jsp"%>	
	<div id="content">
    	<%@ include file="/view/admin/admin_common.jsp"%>
        <div class="right-content">
			<div class="box">
				<h1><s:text name="menu.system_admin.change_ward_details"/></h1>
				<s:if test='replyMessage.message!="empty"'>
					<s:property value="replyMessage.message"/>
				</s:if>
				<s:else>
					<s:if test="wards.size > 0">
						<s:form action="change_ward_details_form">
							<div class="con-part">
								<span><s:label key="label.add_new_ward.ward_number"></s:label></span>
								<s:select list="wards" key="ward.wardNo" cssClass="select_box" headerKey="1" headerValue="-----"/>
							</div>
							<div class="con-part">
								<span><s:label key="label.add_new_ward.no_of_beds"></s:label></span>
								<s:textfield key="ward.noOfBeds"/>
							</div>
							<s:submit name="label.change_ward.button_name" cssClass="green"/>
						</s:form>
					</s:if>
					<s:else>
						No wards are added. Please add a ward.
					</s:else>
				</s:else>
			</div>
		</div>
	</div>
<%@ include file="/view/template/footer.jsp"%>